Page({
  onNavBack() {
    wx.navigateBack();
  },
  handleNavigate(e) {
    const target = e.currentTarget.dataset.target;
    // 根据不同的 target 进行不同页面的跳转，这里先简单示例，实际需替换为真实页面路径
    switch (target) {
      case "returnRefund":
        wx.navigateTo({
          url: "/pages/returnRefund/returnRefund"
        });
        break;
      case "exchange":
        wx.navigateTo({
          url: "/pages/exchange/exchange"
        });
        break;
      case "afterSalesRecord":
        wx.navigateTo({
          url: "/pages/afterSalesRecord/afterSalesRecord"
        });
        break;
      case "onlineService":
        wx.navigateTo({
          url: "/pages/onlineService/onlineService"
        });
        break;
      default:
        break;
    }
  }
});